<%--
  Created by IntelliJ IDEA.
  User: huangrulan
  Date: 2018/11/2
  Time: 4:24 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <title>用户列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="Author" content="larry" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="shortcut icon" href="${base}/assets/images/favicon.ico">
    <link rel="stylesheet" type="text/css" href="${base}/assets/css/layui/layui.css" media="all">
    <link rel="stylesheet" type="text/css" href="${base}/assets/css/global.css" media="all">
    <link rel="stylesheet" type="text/css" href="${base}/assets/css/larryms/larryms.css" media="all">
    <link rel="stylesheet" type="text/css" href="${base}/larryms/css/admin/admin.css" media="all">
</head>
<body>
<div class="layui-row larryms-panel">
    <div class="larryms-panel-heading layui-col-lg12 layui-col-md12 layui-col-sm12 layui-col-xs12">
        <span class="panel-tit">用户列表</span>
    </div>
    <div class="larryms-panel-body layui-col-lg12 layui-col-md12 layui-col-sm12 layui-col-xs12">
        <div class="larryms-tools">
            <div class="layui-btn-group  larryms-btn-group">
                <button class="layui-btn layui-btn-sm layui-btn-danger userBtn" data-id="userTbl"  data-type="del"
                        data-url="${base}/ticket/user/batchDel.json">
                    <i class="layui-icon layui-icon-delete"></i><cite>批量删除</cite></button>
            </div>
        </div>

        <div class="user-list layui-col-lg12 layui-col-md12 layui-col-sm12 layui-col-xs12" style="height: 800px; width: 1200px;">
            <table id="userTbl" lay-filter="userTbl" class="larryms-table-id"
                   data-url="${base}/ticket/user/user.json"></table>
        </div>
    </div>
</div>

<!--操作-->
<script type="text/html" id="userBar">
    <a class="layui-btn layui-btn-xs" data-url="${base}/ticket/user/save.page" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-xs layui-btn-danger" data-url="${base}/ticket/user/del.json" lay-event="del">删除</a>
</script>

<!-- 加载js文件-->
<script type="text/javascript" src="${base}/assets/js/layui/layui.js"></script>
<script type="text/javascript">
    layui.config({
        version:"2.0.8",
        layertype: 2,
        base:'${base}/larryms/',  //实际使用时，建议改成绝对路径
        identified:'user',
        // mods: 'vip/',
        page: 'user',
        rightMenu: true // false关闭，设置为custom时使用自定义，不使用默认menu
    }).extend({
        larry:'js/base'
    }).use('larry');
</script>
</body>
</html>

